export default require
  .context("@/pages/eui", false, /\.vue$/)
  .keys()
  .map(e => {
    const path = e.replace(/^\.(.*).vue$/, "$1");
    return {
      path,
      component: () =>
        new Promise(function tt(resolve) {
          resolve(require(`@/pages/eui${path}.vue`).default);
        })
    };
  });
